﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace FaWorks.WebSite.Models.Knowledge
{
    /// <summary>
    /// 知识细类
    /// </summary>
    [Table("krKnowledgeDetailsType")]
    public class KnowledgeDetailType
        : Base
    {
        /// <summary>
        /// 名称
        /// </summary>
        [MaxLength(200)]
        public String Name { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [MaxLength(10)]
        public String Code { get; set; }

        /// <summary>
        /// 父级编码
        /// </summary>
        [MaxLength(100)]
        public String ParentCode { get; set; }

        [Column("krKnowledgeType_ID")]
        public Int32 KnowledgeType_ID { get; set; }
    }
}